package com.hxzy.shop.dto.commodity.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Author: cxy
 * @Date: 2022/9/6 13:13
 */
@Data
public class ContractStateReq implements Serializable {

    @NotNull(message = "合约id不能为空")
    @ApiModelProperty(value = "合约id")
    private Long id;

    @ApiModelProperty(value = "状态  true启用 false停用")
    private Boolean state;
}
